
{extend name="index@common/base"/} 
{block name="style"}
{/block} {block name="body"}
<div class="layui-body layui-tab-content index-body" id="cont">
	<div class="park-navigation">
		<div class="navigation-icon">
			<i class="fa {$breadCrumb[0]['icon']}"></i>
		</div>
		<div class="navigation-menu">
			<h2>{$breadCrumb[0]['title']}</h2>
			{if isset($breadCrumb[1])}
			<p>{$breadCrumb[0]['remark']}</p>
			{/if}
		</div>
	</div>
	<div class="park-content">
		<div class="content-title">
			<div class="title col-9">
				<h3>{$breadCrumb[1]['title']}</h3>
				<form class="layui-form" action="{:url('admin/logs/search')}" onsubmit="return false;">
				   <button class="search-btn" lay-submit lay-filter="search"><img src="__STATIC__/img/base/topsearch01.png"></button>
				   	 <select name="operateType">
						<option value="">动作类型</option>
						{volist name="type" id="item"}
						<option value="{$key}">{$item}</option>
						{/volist}
					 </select>
				   	 <select name="operatorId">
						<option value="">操作人</option>
						{volist name="userList" id="item"}
						<option value="{$key}">{$item}</option>
						{/volist}
					 </select>
				   	 <div class="date-duration">
					   <div class="layui-input-inline">
							<input type="text" name="start" id="start" autocomplete="off" class="search-input" placeholder="开始时间">
						</div>
						<div class="layui-input-inline">
							<span>--</span>
						</div>
						<div class="layui-input-inline">
							<input type="text" name="end" id="end" autocomplete="off" class="search-input" placeholder="结束时间">
						</div>
					</div>
				</form>	
			</div>
			<div class="tool col-1">
				<button id="reload"><i class="fa fa-refresh"></i></button>
			</div>
		</div>
		<table class="layui-hide" id="logs" lay-filter="logs" data-url="{:url('admin/logs/index')}"></table>
	</div>
</div>
{/block}
{block name="script"}
    <script type="text/javascript" src="__LAYUI__/layui.js"></script>
<script type="text/javascript" src="__JS__/admin/logs.js"></script>

<script type="text/html" id="user">
		{{# if (d.user){ }}
		{{d.user.userName}}
		{{# }}}
</script>
<script type="text/html" id="type">
		{{# if (d.operateType==1){ }}新增{{# }}}
		{{# if (d.operateType==2){ }}删除{{# }}}
		{{# if (d.operateType==3){ }}修改{{# }}}
		{{# if (d.operateType==4){ }}登陆{{# }}}
</script>

{/block}

